<div style="width:270px;float:left;">
<div id="ProductSortCssID">

<ul id="pstMenu">

<?php 
$children = Fragment::model()->findAll(array('condition'=>'category_id=1'));
foreach($children as $cat) {
    $list[] = $cat->id;
?>
<li>
    <?php echo CHtml::link($cat->name, array('fragment/view','id'=>$cat->id));?>
</li>
<?php } ?>

</ul>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

<script type="text/javascript">
sfHover = function() { 
    var sfEls = document.getElementById("pstMenu").getElementsByTagName("LI");
    for (var i=0; i<sfEls.length; i++) { 
        sfEls[i].onmouseover=function() { 
            this.className+=" sfhover";
        }
        sfEls[i].onmouseout=function() { 
            this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

</script>
</div>
</div>
<div style="width:700px;float:right;margin:0px 0px 50px 0px;">
<div id="bread">
<a href="/">首页</a>
>><?php echo $model->name; ?>
</div>
<h1><?php echo $model->name; ?></h1>

<p id="content">
<?php echo $model->content;?>
</p>
</div>
